package run.siyuan.jdk.设计模式.模板模式.模板模式案例2;


/**
 * @className: Client
 * @Description: TODO
 * @author: siyuan
 * @date: 2022/3/17 10:10 AM
 */
public class Client {

    public static void main(String[] args) {
        ConcreteClass1 concreteClass1 = new ConcreteClass1();
        ConcreteClass2 concreteClass2 = new ConcreteClass2();
        concreteClass1.doAnything();
        concreteClass1.doSomething();
        concreteClass2.doAnything();
        concreteClass2.doSomething();
    }

}
